package com.dk.service;

import com.dk.pojo.Role;

import java.util.List;

public interface RoleService {

    List<Role> getInfo();

    Boolean insertInfo(Role role,Integer[] nodesIds);

    boolean deleteById(Integer id);

    Role selectById(Integer rid);

    Boolean insertInfo2(Role role, Integer[] nodesIds);

    List<Role> selectRole();

    List<Integer> selectUserRoleByUid(Integer uid);
}
